package gbase

// 基础结构体
type IBase interface {
	ToString(child any) string
	ToBytes(child any) []byte
	ToMap(child any) Map
	ToMapExclude(child any, keys ...string) (cm Map)
	ToMapInclude(child any, keys ...string) (cm Map)
	Vd(child any) error

	FromX(child any, params any) error
}

// 模型配置字段接口
type IConfig interface {
	ToString(child any) string
	ToBytes(child any) []byte
	Vd(child any) error
}

// Debuggable 定义了可调试的接口
type Debuggable interface {
	SetDebug(bool)
}
